<template>
  <div>
    <header>
      <slot name="header" />
    </header>
    <main>
      <slot />
    </main>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
div{
  border-radius: 5px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid #36aad8;
  font-size: 16px;
}
header,main{
  height:100%;
  padding-left:10px;
  line-height: 40px;
  margin-bottom: 10px;
}
header{
  border-bottom: 1px solid #36aad8;
  background-color: aqua;
}
</style>